<?php

namespace Plugin\Alarm\Event;

abstract class AbstractWorkHandleEvent
{
    public array $work;
    abstract public function getTitle();

    abstract public function getTargetUsers();

    abstract public function getMessage();

    public function getRelatedId() {
        return $this->work['id'];
    }

    public function getLevel() {
        return $this->work['priority'];
    }
}